package cn.iocoder.yudao.module.member.convert.userrelation;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.member.controller.admin.userrelation.vo.*;
import cn.iocoder.yudao.module.member.dal.dataobject.userrelation.UserRelationDO;

/**
 * 户关系 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface UserRelationConvert {

    UserRelationConvert INSTANCE = Mappers.getMapper(UserRelationConvert.class);

    UserRelationDO convert(UserRelationCreateReqVO bean);

    UserRelationDO convert(UserRelationUpdateReqVO bean);

    UserRelationRespVO convert(UserRelationDO bean);

    List<UserRelationRespVO> convertList(List<UserRelationDO> list);

    PageResult<UserRelationRespVO> convertPage(PageResult<UserRelationDO> page);

    List<UserRelationExcelVO> convertList02(List<UserRelationDO> list);

}
